package javabase.desginpattern.behavior.observer.push;

/**
 * @author fance
 * @date 18-4-26 下午4:09
 */
public class ConcreteObserver implements Observer {
    private String observerState;

    @Override
    public void update(String state) {
        observerState = state;
        System.out.println("状态改变为: " + observerState);
    }
}
